Bundler\Models\Offer S

Total Complexity 33
Dependencies 1
Dependents 1
Total lines 412
Lines of code 253
Logical lines of code 97
Comment lines 109
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_all_offers()
A
44 7 46
get_highest_priority_offer_by_product_id()
S
50 6 32
get_highest_priority_bundle_by_product_id()
S
50 5 31
get_bundle_offers()
S
49 5 30
new_offer()
S
48 2 38
update_offer()
S
50 1 33
get_offer_by_id()
S
61 2 12
update_offer_products()
S
62 2 11
delete_offer()
S
72 1 5
update_offer_status()
S
71 1 5
get_offer_products()
S
64 1 10